home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 5
/
Gold Medal Software - Volume 5 (Gold Medal) (1995).iso
/
utils1
/
fdupl101.arj
/
FDUPLINS.DOC
next >
Wrap
Text File
|
1994-09-15
|
2KB
|
61 lines
FDUPLINS v1.01
DOS utility: eliminates non-unique lines from a SORTED text file
Freeware, copyright (c) 1994 [94/09/15]
by
David Daniel Anderson
Reign Ware
** READ REIGNWAR.TXT FOR LEGAL MUMBO JUMBO **
FDUPLINS eliminates non-unique lines from a SORTED text file. Only one
instance of each line is retained.
Usage: FDUPLINS infile outfile [/c[y|n]] [/d#]
Where: infile = the OLD file - the file MUST exist. Must also be sorted.
outfile = the NEW file - the file MUST NOT exist.
/cn = ignore case (default - unless /c or /cy specified)
/c, /cy = case sensitive (ie. "ZIP" does not equal "Zip")
/d# = number of characters at beginning of lines to disregard
(/d5 will disregard the first 5 characters of each line)
Required parameters: infile and outfile. Wildcards are NOT allowed.
Optional parameters: [/c[y|n]] [/d#]
If /c, /cy, or /cn is not specified, default is to ignore case
(equivalent to specifying /cn).
If /d# is not specified, no leading characters are disregarded
in the line by line comparison.
Note: The purpose of the [/d#] parameter is to allow for using FDUPLINS
to remove the duplicate lines from an UNsorted file. To do this, you
must first number each of the lines, then SORT the file, run FDUPLINS,
UNsort the file, and, finally, remove the line numbers.
See the included batch file (FDUPSAMP.BAT) for an example.
** READ REIGNWAR.TXT FOR LEGAL MUMBO JUMBO **
{------------------------------------------------------------------------------
REVISION HISTORY
v1.00 : 1993/07/14. First public release. DDA
v1.01 : 1994/09/15. Improved efficiency, speed, documentation, help screen
and error handling. Included a batch file for using
FDUPLINES with unsorted files. DDA
------------------------------------------------------------------------------}